package com.beamfield.dao.lab;

import com.beamfield.model.GroundBearer;
import com.beamfield.modelVo.GroundBearerVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface GroundBearerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GroundBearer record);

    int insertSelective(GroundBearer record);

    GroundBearer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GroundBearer record);

    int updateByPrimaryKey(GroundBearer record);

    List<GroundBearerVo> selectPage(@Param("beamId") Long beamId, @Param("offset") String offset, @Param("limit") String limit, @Param("noticeId") String noticeId,@Param("partDate") String partDate);

    long countPage(@Param("beamId") Long beamId, @Param("noticeId") String noticeId,@Param("partDate") String partDate);
}